#ifndef CAMERA_COLLEGE_PROXY_H
#define CAMERA_COLLEGE_PROXY_H

#include <sdbus-c++/IObject.h>
#include <thread>
#include <sdbus-c++/sdbus-c++.h>

class ServerUIProxy
{
  public:
    ServerUIProxy();
    virtual ~ServerUIProxy();
    void SetMobileConnectStatus(bool status);
    void SetRecordStatus(bool status);
    void Boot();

  private:
    std::unique_ptr<sdbus::IConnection> conn;
    std::unique_ptr<sdbus::IObject> object;
    const char* MainInterfaceName="org.HBTY.ServerUI";
    std::thread workThread;
};

#endif
